Ensure file doesn't exist, use file extension