fix for files with empty content