Added file's functionality.