trimming file extension from file name - shorter