fixing old depencies, added delete_file