1. added unused file write function
2. added files decide alternate function (this might be a different python file)