Handle string parameter to file content replacement