I'm making a file search algorithm for an app I'm creating, but the File class doesn't have any methods to open the file, just one to return its path, is there any method I can use to open a file given the path?
Also, is it the same opening a media file as it is opening a normal executable? If not, is there any other method I can use?