Fixed probadat() and cleaned up files