fixing config file handling
cleanup incomplete upload requests