The file permissions override the folder permissions without any issue. They only come to act indifferently if the Full Control permission is given to a specific user across a folder.