FileError class removed.
a fix on the form validation; model
code refactoring