How to create or replace a placeholder file