Fixed the fileuploading.