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