Check if file is regular file