Write full path as filename