getters and setters for file, directory and name