Fixed different extension when checking if file was generated