Is there a check if the file exists through python?