file_size function added to libsys.c