function [ filePath, file ] = getFile( file )
%--------------------------------------------------------------------------
% Returns the path, name, and extension of a file
%
% Cooper Baker - 2014
%--------------------------------------------------------------------------

[ filePath, fileName, fileExt ] = fileparts( which( file ) );

filePath = sprintf( '%s/', filePath );

% EOF