Removed file extension function, added to filename config