Fixed file uploading if object has default file