Create a new FileData based the file path and whether it is to be uploaded or not.
FileData({required this.filename, this.upload = true}) : super();