Minor change in if condition for file existence