Splits the receiver File's path into its individual segments.
File The file to process.
A list of strings representing the segments of the file's path.