FEATURE: adds padFile function and a test for it