Adding sub method both for symlinks and for regular files