got working lift file function