fixed uploader bug, cleaned file check methods