Utilize the predefined FileAccess function instead of 'os.path.isfile'