Add file validation by size and filetype