Explicitly set return type on file extension