os.Path.size() is used to return the file size:
CALL os.Path.size(f_name) RETURNING f_size
where
In case the function fails to get the file size, it returns the negative integer, -1.
When you specify a file name, be careful with its case.
UNIX is case-sensitive, so it will treat files which names come in different cases as separate files.