Extends the functionality of file