in case the file is new isCreatable() is checked
in case the file exists isUpdatable() is checked