implement file library methods for GS