Input checks added
Input check for file size removed