Avoid empty file fields