Add conditions for files that may not exist