Remove extension from variable files