Make file manipulation in bin more explicit