added simple file validation in Admin panel