Change method for adding file path