fs: create file_readable() and file_writable() functions