add file_exists check