##Some functions to obtain file attributes